package com.cropdoctor.model.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import nonapi.io.github.classgraph.json.Id;

@Data
@TableName("fru_vege_garden")
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "VegeFruGardenPo",description = "单条果蔬花园实体信息")
public class VegeFruGardenPo {
  @TableId(type = IdType.AUTO)
  private long id;
  @ApiModelProperty(value = "用户id",example = "1")
  private long idUser;
  @ApiModelProperty(value = "小分类 如瓜果类,浆果类",example = "1")
  private String st;
  @ApiModelProperty(value = "大分类 如水果类和蔬菜类",example = "1")
  private String mt;
  @ApiModelProperty(value = "对应果蔬表的主键id",example = "1")
  private long idTable;
  @ApiModelProperty(value = "果蔬名称",example = "西瓜")
  private String name;
  @ApiModelProperty(value = "图片存放的路径",example = "/1/2")
  private String url;
}
